<?php


if (!eregi("modules.php", $_SERVER['PHP_SELF'])) {
    die ("You can't access this file directly...");
}

require_once("mainfile.php");

$module_name = basename(dirname(__FILE__));
get_lang($module_name);
$pagetitle = " - Bize Link Verin";

include("header.php");
    OpenTable();
    echo "<center><font class=\"option\">"._LOGOLAR."</font></center><br><br>"
        ."<table width=\"100%\" bgcolor=\"$bgcolor2\"cellpadding=\"4\" cellspacing=\"1\" border=\"0\">"
        ."<tr><td bgcolor=\"$bgcolor2\"><font class=\"option\"></td></tr>";

    echo ""._ACIKLA1."<br><br>";
        echo ""._ACIKLA2."<br>";
      echo "</table><br>";

    echo "</center>";

    $direktory = "modules/$module_name/images";
    $handle=opendir($direktory);
    while ($file = readdir($handle)) {
          $filelist[] = $file;
    }
    asort($filelist);
    while (list ($a, $file) = each ($filelist)) {
          if ($file == "." || $file == ".." || $file == "index.htm" || $file=="Thumbs.db") {
          } else {
    $grafik = "modules/$module_name/images/$file";
        $info = getimagesize($grafik);
        $id = filesize($grafik);
        $boyut = round ($id / 1024 ,2);

       echo "<p align=\"center\"><img alt=\"$sitename\" src=\"$nukeurl/$direktory/$file\" border=\"0\"></a><br>
       "._IMAGESIZE." ". $info[0] ." x " . $info[1] ."<br>"._BOYUT." ".$boyut." KB</p>\n";
       echo "<p align=\"center\"><b>"._ORNEKOD."</b><br>&lt;!-- $sitename "._KODBASLA." --&gt;\n<br>";
       echo "&lt;a href=\"$nukeurl\" target=\"_blank\"&gt;<br>&lt;img alt=\"$sitename\" src=\"$nukeurl/$direktory/$file\" border=\"0\" height=\"$info[1]\" width=\"$info[0]\"&gt;&lt;/a&gt;\n";
       echo "<br>&lt;!-- $sitename "._KODBITIR." --&gt;</p>\n";
       echo "<hr size=\"1\" noshade>\n";
            }
    }

    $direktoryflash = "modules/$module_name/flash";
    $handle=opendir($direktoryflash);
    while ($file3 = readdir($handle)) {
          $filelistb[] = $file3;
    }
    asort($filelistb);
    while (list ($b, $file3) = each ($filelistb)) {
          if ($file3 == "." || $file3 == ".." || $file3 == "index.htm" || $file=="Thumbs.db") {
          } else {
       echo "<p align=\"center\"><OBJECT classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0\" ID=\"Menu\"><PARAM NAME=\"movie\" VALUE=\"$nukeurl/modules/$module_name/flash/$file3\"> <PARAM NAME=\"quality\" VALUE=\"high\"><param Name=\"menu\" value=\"false\"><EMBED src=\"$nukeurl/modules/$module_name/flash/$file3\" quality=\"high\" TYPE=\"application/x-shockwave-flash\" PLUGINSPAGE=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\"></EMBED></OBJECT></p>\n";
       echo "<p align=\"center\"><b>"._ORNEKOD."</b><br>&lt;!-- $sitename "._KODBASLA." --&gt;<br>\n";
       echo "&lt;OBJECT classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0\" ID=\"Menu\"&gt;&lt;PARAM NAME=\"movie\" VALUE=\"$nukeurl/modules/$module_name/flash/$file3\"&gt; &lt;PARAM NAME=\"quality\" VALUE=\"high\"&gt;&lt;param Name=\"menu\" value=\"false\"&gt;&lt;EMBED src=\"$nukeurl/modules/$module_name/flash/$file3\" quality=\"high\" TYPE=\"application/x-shockwave-flash\" PLUGINSPAGE=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\"&gt;&lt;/EMBED&gt;&lt;/OBJECT&gt;\n";
       echo "<br>&lt;!-- $sitename "._KODBITIR." --&gt;</p>\n";
       echo "<hr size=\"1\" noshade>\n";
            }
    }


    CloseTable();
include("footer.php");
?>